/*
 * --------------------------------------------------------------
 * Copyright ©  2015 Hangzhou DtDream Technologies Co.,Ltd.
 * --------------------------------------------------------------
 *      Product: 协同数治
 *  Module Name: design
 * Date Created: 2023/2/2
 *  Description: TODO
 * --------------------------------------------------------------
 * Modification History
 * DATE            NAME            Description
 * --------------------------------------------------------------
 * 2023/2/2       yewj            TODO
 * --------------------------------------------------------------
 */

package com.dtdream.pattern.builder.improve;

/**
 * 抽象的建造者
 *
 * @Author: yewj
 **/
public abstract class HouseBuilder {

    protected House house = new House();

    // 将建造好的流程写好，抽象方法
    public abstract void buildBasic();
    public abstract void buildWall();
    public abstract void roofed();

    //建造房子
    public House buildHouse() {
        return house;
    }
}
